//
//  UPActivityTopView.h
//  Uang Pasti
//
//  Created by 李永彬 on 2025/8/20.
//

#import <UIKit/UIKit.h>
#import "Circumibility.h"

NS_ASSUME_NONNULL_BEGIN

@protocol UPActivityTopViewDelegate <NSObject>

- (void)activityTopViewDidClick;

@end

@interface UPActivityTopView : UIControl

@property (nonatomic, weak) id<UPActivityTopViewDelegate> delegate;
@property (nonatomic, strong) UIImageView *maxLoanImgView;
@property (nonatomic, strong) UIImageView *contentImgView;
@property (nonatomic, strong) UIImageView *daysImgView;
@property (nonatomic, strong) UIImageView *rateImgView;
@property (nonatomic, strong) UIButton *toLoanButton;
@property (nonatomic, strong) UILabel *daysLabel;
@property (nonatomic, strong) UILabel *rateLabel;
@property (nonatomic, strong) UILabel *amountMoneyLabel;
@property (nonatomic, strong) UILabel *detailLabel;
@property (nonatomic, strong) Circumibility *circumibility;

- (CGFloat)getTopViewHeight;

@end

NS_ASSUME_NONNULL_END
